package com.itfreer.knowledge.service.config;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.knowledge.entity.config.SiteEntity;

/**
 * 站点管理服务接口
 */
@Component("knowledgeRestSiteService")
@Path("/knowledge_site/")
public class RestSiteService extends BaseRestService<SiteEntity>  {

	@Autowired
	private SiteService siteService;
	
	@Override
	protected BaseService<SiteEntity> getService() {
		return siteService;
	}
	
	@Override
	protected String getServiceName() {
		return "knowledge_site";
	}
}
